package com.hkts.naturalgasauthentication.base.dao;

import com.hkts.naturalgasauthentication.base.entity.HontRole;
import com.hkts.naturalgasauthentication.base.entity.HontUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * @ClassNameHontRoleDao
 * @Description
 * @Author yck
 * @Date2020-12-18 17:09
 * @Version V1.0
 **/
public interface HontRoleDao extends JpaRepository<HontRole,Integer> {
    @Query(" from HontRole where id in (:ids)")
    List<HontRole> findAllByIds(List<String> ids);
}
